package cn.cas.mango.dto.param;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@AllArgsConstructor
@Data
@JsonIgnoreProperties({"id", "news_source", "news_website", "news_website_type",
                        "news_url", "news_title", "news_content", "news_author",
                        "news_media_name", "news_publictime", "news_language",
                        "news_title_zh", "news_content_zh", "news_summary",
                        "news_entities", "news_entities_person", "news_entities_place",
                        "news_publicdate", "news_publictime",
                        "news_entities_organization", "news_type", "crawl_time", "domain"})
public class HitNews extends News {
    @JsonInclude(JsonInclude.Include.NON_DEFAULT)
    Double score;
}
